import { Source } from '@vscode/debugadapter';

export interface IBreakpoint {
    id: number;
    source: Source;
    line: number;
    column?: number;
    condition?: string;
    hitCondition?: string;
    logMessage?: string;
    enabled: boolean;
    verified: boolean;
    hitCount: number;
}

export interface IFunctionBreakpoint {
    id: number;
    functionName: string;
    condition?: string;
    hitCondition?: string;
    enabled: boolean;
    hitCount: number;
}

export interface IDataBreakpoint {
    id: number;
    address: string;
    accessType: 'read' | 'write' | 'readWrite';
    condition?: string;
    hitCondition?: string;
    size?: number;
    enabled: boolean;
    hitCount: number;
}

export interface IExceptionInfo {
    breakMode: string;
    description: string;
    details?: {
        typeName: string;
        message: string;
        stackTrace?: string;
    };
} 